﻿using System;
using System.Windows;
using System.Windows.Controls;
using VSTalk.Engine.ViewModel.ContactList.ClientResources;
using VSTalk.Model;
using VSTalk.Tools;

namespace VSTalk.Engine.Controls
{
    class InterlocutorToolTip : Control
    {
        public static readonly DependencyProperty SummaryProperty = DependencyProperty.Register
            (
                 "Summary",
                 typeof(InterlocutorSummaryViewModel),
                 typeof(InterlocutorToolTip),
                 new PropertyMetadata(null)
            );

        public InterlocutorSummaryViewModel Summary
        {
            get { return (InterlocutorSummaryViewModel)GetValue(SummaryProperty); }
            set { SetValue(SummaryProperty, value); }
        }
        
        static InterlocutorToolTip()
        {
            DefaultStyleKeyProperty.OverrideMetadata(typeof(InterlocutorToolTip), new FrameworkPropertyMetadata(typeof(InterlocutorToolTip)));
        }
    }
}
